//
//  CityPositionCollectionViewCell.m
//  MemberProject
//
//  Created by mac on 15/4/30.
//  Copyright (c) 2015年 MAC OS X. All rights reserved.
//

#import "CityPositionCollectionViewCell.h"

@implementation CityPositionCollectionViewCell

- (void)awakeFromNib {
    // Initialization code
    self.layer.borderWidth=0.5f;
    self.layer.borderColor=[UIColor colorWithRed:223/255.0 green:219/255.0 blue:215/255.0 alpha:1].CGColor;
//    if(self.selectedBackgroundView==nil){
//        self.selectedBackgroundView=[[UIView alloc]initWithFrame:CGRectMake(0, 0, 40, 40)];
//        self.selectedBackgroundView.backgroundColor=[UIColor colorWithRed:221/255.0 green:221/255.0 blue:221/255.0 alpha:1];
//    }
}

-(void)setIs_Selected:(BOOL)is_Selected{
    _is_Selected=is_Selected;
    if(_is_Selected==YES){
        self.backgroundColor=[UIColor colorWithRed:221/255.0 green:221/255.0 blue:221/255.0 alpha:1];
    }else{
        self.backgroundColor=[UIColor whiteColor];
    }
}


@end
